package com.advertisementsystem.Servie;

import com.advertisementsystem.Dto.DeviceDTO;
import com.advertisementsystem.entity.Device;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface DeviceService {
    void createDevice(DeviceDTO dto);
    void updateDevice(Long id, DeviceDTO dto);
    void deleteDevice(Long id);
    Page<Device> getDeviceList(Integer pageNum, Integer pageSize,String name,Integer status,String keyword,String type);
    Device getDeviceDetail(Long id);
    void enableDevice(Long id);
    void disableDevice(Long id);

}
